﻿using System;
using System.Collections;
using System.Linq;
using System.Text;

namespace BusinessCommon.Utilities
{
    public class SessionUtilites
    {
        public static Hashtable hashtable = new Hashtable();
        public static String SESSION_KEY = "keySession";


        public static void SetSession(String key, Object value)
        {
            if (hashtable.ContainsKey(key))
            {
                hashtable[key] = value;
            }
            else
            {
                hashtable.Add(key, value);
            }
        }

        public static Object GetSession(String key)
        {
            return hashtable[key];
        }

    }
}
